projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e77352
)
[STDC_HEADERS]: Include stddef.h.
author
Eli Zaretskii
<eliz@gnu.org>
Sat, 8 Apr 2006 16:44:27 +0000
(16:44 +0000)
committer
Eli Zaretskii
<eliz@gnu.org>
Sat, 8 Apr 2006 16:44:27 +0000
(16:44 +0000)
src/ChangeLog
patch
|
blob
|
history
src/alloc.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index 2c55dc037f8759c8afc99a426f8cb4e058352b12..9241049014182b97ee7a5c75caad1700ef8f21cd 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,5
+1,7
@@
2006-04-08 Eli Zaretskii <eliz@gnu.org>
+ * alloc.c [STDC_HEADERS]: Include stddef.h.
+
* lisp.h (PSEUDOVECSIZE): Fix last change.
2006-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
diff --git
a/src/alloc.c
b/src/alloc.c
index 5b42a0016a8a1de585d775d34b0468039c13a1bb..1d3dc10c411bd00863ec7bf99f9afd9df5fe835f 100644
(file)
--- a/
src/alloc.c
+++ b/
src/alloc.c
@@
-23,6
+23,10
@@
Boston, MA 02110-1301, USA. */
#include <stdio.h>
#include <limits.h> /* For CHAR_BIT. */
+#ifdef STDC_HEADERS
+#include <stddef.h> /* For offsetof, used by PSEUDOVECSIZE. */
+#endif
+
#ifdef ALLOC_DEBUG
#undef INLINE
#endif